home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 9
/
The PC-SIG Library on CD ROM - Ninth Edition.iso
/
1601_700
/
DISK1617
/
DISK1617.ZIP
/
DFH3.Z03
< prev
next >
Wrap
Text File
|
1990-04-20
|
3KB
|
49 lines
***********************************************************************
* *
* File Name: DFH3.COM ZAP NUMBER 3 *
* *
* Patch to alter the size of the file buffer and space alloc. *
* *
* Reason: *
* Initially each buffer defaults to the sum of five basic *
* sub buffers. They are in order of use: *
* Control Block Buffer = 128 dec bytes *
* Index Block Buffer = 512 *
* Data Block Buffer = 2048 *
* User Input Buffer = 256 *
* Slop = 16 *
* ------ *
* 2960 = 0B90 bytes *
* 2960/16 = 00B9 paragraphs *
* *
* DISAM's record length word allows for a 64K record though *
* this has never been tested. It is concevable however that *
* an assembler program may need an input buffer size of 2048 *
* bytes. Index Block = 512, Data Block = 8196 *
* Space = 128 + 512 + 8192 + 2048 + 16 = 10,896 = 2A90 = 02A9 *
* *
* The zap values then become; 02A9 paragraphs and *
* 2A90 bytes for allocation *
* These values get reversed in the module so the zap values *
* are A902 at 0D69 and 902A at 0D8D. *
* *
* Applied: *
* mm/dd/yy by: *
***********************************************************************
NAME DFH3.COM
* MODULE VERSION VERIFICATION
VER 0030 56657220332E352032304170723930 "Ver 3.5 20Apr90"
* PREREQUISITE ZAPS:
* CO-REQUISITE ZAPS: NONE
* VERIFY CURRENT VALUE
VER 0E19 83C702 ADD DI,2
VER 0E1C 05 ADD AX,185
VER 0E3C BAAC0E MOV DX,OFFSET BASE
VER 0E3F 81C2 ADD DX,0B90H
* REPLACE WITH NEW VALUE
* NEW BUFFER PARAGRAPHS AND ALLOCATION SIZE
REP 0E1D B900 NEW NUMBER OF PARAGRAPHS IN LOHI ORDER
REP 0E41 900B NEW ALLOCATION SIZE IN LOHI ORDER
REP 0053 40 INSTALL ZAP #3 (REINSTALLABLE)
END